Namespace HBBSoft.Pivot
    <System.Serializable()> Friend NotInheritable Class CellCollection
        Inherits System.Collections.CollectionBase

        Default Public Property Item(ByVal Index As Integer) As Cell
            Get
                Return CType(List.Item(Index), Cell)
            End Get
            Set(ByVal value As Cell)
                List.Item(Index) = value
            End Set
        End Property

        Public Sub Add(ByRef value As Cell)
            List.Add(value)
        End Sub

        Public Sub Insert(ByVal Index As Integer, ByRef value As Cell)
            List.Insert(Index, value)
        End Sub

        Public Sub Remove(ByRef value As Cell)
            List.Remove(value)
        End Sub

        Public Function Contains(ByRef value As Cell) As Boolean
            Return List.Contains(value)
        End Function

        Public Function IndexOf(ByRef value As Cell) As Integer
            Return List.IndexOf(value)
        End Function


    End Class
End Namespace
